{block content}
  <h1>Přidat pozici baneru</h1>
  {form bannerPositionForm class=>form-horizontal}
    <div class="form-group">
      <ul class="errors col-xs-4 col-xs-offset-4" n:if="$form->hasErrors()">
        <li n:foreach="$form->errors as $error" class="alert alert-danger alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          <strong>{$error}</strong>
        </li>
      </ul>
    </div>

    <div class="form-group">
      {label name class=>array(control-label, col-xs-5)/}
      <div class="col-xs-3">
        {input name}
      </div>
    </div>
    
    <br>
    <div class="form-group">
      <div class="col-xs-4 col-xs-offset-5">
        {input send class=>array(btn, btn-success, btn-md)}
        &nbsp;
        <a n:href="Banner:position" class="btn btn-danger btn-md">Zrušit</a>
      </div>
    </div>
  {/form}
  <script type="text/javascript">
      CKEDITOR.replace('frm-addPageForm-content');
  </script>
{/block}